<template>
<!-- 基本底栏组件 -->
  <div class="bottom-bar">
    <!-- 具名插槽 -->
 
    <div class="left"><slot name="left"></slot></div>
    <div class="center"><slot name="center"></slot></div>
    <div class="right"><slot name="right"></slot></div>
 
  </div>
</template>

<script>
export default {
  name:'BottomBar'
}
</script>

<style scoped>
    .bottom{

    position:fixed;
    bottom: 0px;
    height: 44px;
    width: 1;
    color: #FFF;
    line-height: 44px;
    text-align: center;
    box-shadow: 0 1px 1px rgb(211, 61, 61);
  }
  .left, .right{
    width: 60px;
  }
  .center{
    flex:1;
  }

</style>